package com.example.source.spring.transactional;

import lombok.*;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
@Data
@ToString
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "PERSON")
public class Person {
    @Id
    Integer person_id;
    @Column(name = "age")
    Integer age;
    @Column(name = "firstname")
    String firstname;
    @Column(name = "lastname")
    String lastname;
}
